package com.ruoyi.employee.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工资类型管理对象 yj_wage_type
 * 
 * @author ruoyi
 * @date 2025-10-11
 */
public class YjWageType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 类型编码（唯一，如：FIX2490） */
    private String typeCode;

    /** 工资类型名称 */
    @Excel(name = "工资类型名称")
    private String typeName;

    /** 应发基础金额 */
    @Excel(name = "应发基础金额")
    private BigDecimal baseAmount;

    /** 排序 */
    @Excel(name = "排序")
    private Long sortNo;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 逻辑删除标识（0=存在 1=已删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTypeCode(String typeCode) 
    {
        this.typeCode = typeCode;
    }

    public String getTypeCode() 
    {
        return typeCode;
    }

    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }

    public void setBaseAmount(BigDecimal baseAmount) 
    {
        this.baseAmount = baseAmount;
    }

    public BigDecimal getBaseAmount() 
    {
        return baseAmount;
    }

    public void setSortNo(Long sortNo) 
    {
        this.sortNo = sortNo;
    }

    public Long getSortNo() 
    {
        return sortNo;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeCode", getTypeCode())
            .append("typeName", getTypeName())
            .append("baseAmount", getBaseAmount())
            .append("sortNo", getSortNo())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
